package com.luych.toolbox.common.feign.param.data.service;

import com.luych.toolbox.common.enums.DataSourceType;
import com.luych.toolbox.common.feign.FeignParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("数据代理")
public class DataAgentParam extends FeignParam {

    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("类型")
    private DataSourceType type;
    @ApiModelProperty("IP地址")
    private String host;
    @ApiModelProperty("端口")
    private Integer port;
    @ApiModelProperty("用户名")
    private String user;
    @ApiModelProperty("密码")
    private String pass;
    @ApiModelProperty("路径")
    private String path;
    @ApiModelProperty("责任人ID")
    private String ownerId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public DataSourceType getType() {
        return type;
    }

    public void setType(DataSourceType type) {
        this.type = type;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }
}
